package com.lijie.bs_recruit.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李杰
 * @since 2021-03-15
 */
@ApiModel(value="User对象", description="")
public class User implements Serializable {

    @ApiModelProperty(value = "用户表主键")
    @TableId(value = "userId", type = IdType.AUTO)
    private Integer userId;

    @ApiModelProperty(value = "用户名")
    @TableField("userName")
    private String userName;

    @ApiModelProperty(value = "用户登录密码")
    private String password;

    @ApiModelProperty(value = "用户期望工作分类")
    @TableField("jobClassify")
    private String jobClassify;

    @ApiModelProperty(value = "用户是否就业标识")
    @TableField("isEntry")
    private Integer isEntry;

    @ApiModelProperty(value = "用户停用标记")
    @TableField("userIsDelete")
    private Integer userIsDelete;

    @ApiModelProperty(value = "用户注册时间")
    @TableField("createTime")
    private Date createTime;

    @ApiModelProperty(value = "用户工作经验")
    @TableField("workExp")
    private String workExp;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getJobClassify() {
        return jobClassify;
    }

    public void setJobClassify(String jobClassify) {
        this.jobClassify = jobClassify;
    }

    public Integer getIsEntry() {
        return isEntry;
    }

    public void setIsEntry(Integer isEntry) {
        this.isEntry = isEntry;
    }

    public Integer getUserIsDelete() {
        return userIsDelete;
    }

    public void setUserIsDelete(Integer userIsDelete) {
        this.userIsDelete = userIsDelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getWorkExp() {
        return workExp;
    }

    public void setWorkExp(String workExp) {
        this.workExp = workExp;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", jobClassify='" + jobClassify + '\'' +
                ", isEntry=" + isEntry +
                ", userIsDelete=" + userIsDelete +
                ", createTime=" + createTime +
                ", workExp='" + workExp + '\'' +
                '}';
    }
}
